/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Entity;

import java.util.Date;

/**
 *
 * @author dung
 */
public class EAccount {
    private int AcountID;       //store Account id;
    private String Username;    //Store Username;
    private String Password;    //Store Password
    private String FullName;    //store Name;
    private Date DOB;           //Store Birthday;
    private String address;     //Store Address;
    private boolean Sex;        //Store Sex;
    private String Phone;       //Store Phone;
    private String Email;       //Store Email;
    private String RoleID;      //Store RoleID;
    private boolean Active;     //Store status Account;
    private boolean pass;       //store status changpass;

    public Date getDOB() {
        return DOB;
    }

    public void setDOB(Date DOB) {
        this.DOB = DOB;
    }

    public String getFullName() {
        return FullName;
    }

    public void setFullName(String FullName) {
        this.FullName = FullName;
    }

    public boolean isSex() {
        return Sex;
    }

    public void setSex(boolean Sex) {
        this.Sex = Sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public boolean isPass() {
        return pass;
    }

    public void setPass(boolean pass) {
        this.pass = pass;
    }

    public int getAcountID() {
        return AcountID;
    }

    public void setAcountID(int AcountID) {
        this.AcountID = AcountID;
    }

    public String getEmail() {
        return Email;
    }

    public void setEmail(String Email) {
        this.Email = Email;
    }

    public String getPassword() {
        return Password;
    }

    public void setPassword(String Password) {
        this.Password = Password;
    }

    public String getPhone() {
        return Phone;
    }

    public void setPhone(String Phone) {
        this.Phone = Phone;
    }

    public String getRoleID() {
        return RoleID;
    }

    public void setRoleID(String RoleID) {
        this.RoleID = RoleID;
    }

    public String getUsername() {
        return Username;
    }

    public void setUsername(String Username) {
        this.Username = Username;
    }

    public boolean isAcive() {
        return Active;
    }

    public void setActive(boolean active) {
        this.Active = active;
    }

    public EAccount(int AcountID, String Username, String Password, String FullName, Date DOB, String address, boolean Sex, String Phone, String Email, String RoleID, boolean active, boolean pass) {
        this.AcountID = AcountID;
        this.Username = Username;
        this.Password = Password;
        this.FullName = FullName;
        this.DOB = DOB;
        this.address = address;
        this.Sex = Sex;
        this.Phone = Phone;
        this.Email = Email;
        this.RoleID = RoleID;
        this.Active = active;
        this.pass = pass;
    }
//Constructor no AccountID
    public EAccount(String Username, String Password, String FullName, Date DOB, String address, boolean Sex, String Phone, String Email, String RoleID, boolean active, boolean pass) {
        this.Username = Username;
        this.Password = Password;
        this.FullName = FullName;
        this.DOB = DOB;
        this.address = address;
        this.Sex = Sex;
        this.Phone = Phone;
        this.Email = Email;
        this.RoleID = RoleID;
        this.Active = active;
        this.pass = pass;
    }
//Constructor no parameter
    public EAccount() {
    }
    
}
